#define _CRT_SECURE_NO_WARNINGS  1
#include"SeqList.h"

void Testo()
{
	Sq arr1;
	SeqInite(&arr1);
	SeqBackPush(&arr1, 1);
	SeqBackPush(&arr1, 2);
	SeqBackPush(&arr1, 3);
	SeqBackPush(&arr1, 4);
	SeqBackPush(&arr1, 5);
	SeqPrint(&arr1);

	//for (int i = 0; i < 5; i++)
	//{
	//	printf("%d \n", *(arr1.arr + i));//*arr1.arr + i
	//}
	SeqFrontPush(&arr1, 10);
	SeqFrontPush(&arr1, 11);
	SeqPrint(&arr1);
	
	SeqFrontDelete(&arr1);
	SeqFrontDelete(&arr1);
	SeqPrint(&arr1);

	SeqBackDelete(&arr1);
	SeqBackDelete(&arr1);
	SeqBackDelete(&arr1);
	SeqBackDelete(&arr1);
	SeqPrint(&arr1);

}
#include<stdio.h>

int main()
{
	Testo();
	//char arr[] = "345";
	//printf("%c ", *arr + 1);
	
	return 0;
}